div
{
   box-sizing: border-box;
}
.workflows-list
{
  margin:0;
  list-style-type:none;
  text-align: center;
}
.workflows-list li
{
  
}
.workflows-list.flowstate li .state-item
{
  padding:10px 20px;
  
}


.workflows-list li .state-item
{
  background: #fff;
  border:1px #ccc solid;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  padding:0px 10px;
  display:inline-block;
}
.workflows-list li  .arrow
{
  margin:2px 0 0 0;
}
.workflows-list li.stop .arrow
{
  color:#ccc;
  
}
.workflows-list li.stop .state-item
{
  background: #eee;
  color:#ccc;
  border-color:#eee;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.workflows-list li.active .state-item
{

  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}
.workflows-list li.ok .state-item
{
  background: #378137; 
  border-color:#378137;
  color:#fff;
}
.workflows-list li.submit .state-item
{
  background: #8080ff;
  border-color:#8080ff;
  color:#fff;
}
.workflows-list li.edit .state-item
{
  background: #808080;
  border-color:#808080;
  color:#fff;
}
.workflows-list li.reject .state-item
{
  background: #bd362f;
  border-color:#bd362f;
  color:#fff;
}



.chzn-color-state.chzn-single[rel="value_3"]
 {
  /*background-color: #46a546;*/
  background-color: #000;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  color: #ffffff;
}
.chzn-color-state.chzn-single[rel="value_4"]
 {
  background-color: blue;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  color: #ffffff;
 }
 .chzn-color-state.chzn-single[rel="value_5"]
 {
  background-color: red;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  color: #ffffff;
 }

.message-list table td .new
{
  color: red;

}

.message-list  .read
{
  color:#555;
}
.message-list  .no-read
{
  color:#000;
  font-weight: bold;
}




.workflow-content
{
  display: flex;
  margin:10px -10px;
}

.workflow-content .btn-toolbar
{
  margin:0;
}

.list-edit a
{
  margin:0 5px;
}
.workflow-menu
{
  flex: 0 0 auto;
  width: calc(25% - 15px);
  margin:10px;
 

}

.workflow-pane
{
   position: relative;
  display: flex;
  flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
}

.menus-header
{
  padding: 0.75rem 1.25rem;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid #ccc;
    font-size: 1rem;
    line-height: 1.2;
    font-size: 1rem;
}
.workflow-pane .user-center-menus
{
  flex: 1 1 auto;
    padding: 1.25rem;
}

.workflow-menu ul > li >a
{
  padding:5px;
  display:block;
}

.workflow-menu ul > li.active >a
{
  background: rgba(0, 0, 0, 0.1);
}


.workflow-main
{
  margin:10px;
  flex:1;
  
}


.workflow-main .toolbar
{
  background: #eee;
  border:1px #ccc solid;
  padding:5px 10px;
}

.workflow-main .toolbar .btn-small
{
  line-height: 24px;
  margin-right: 4px;
  padding: 0 10px;
  border-radius: 3px;
  text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-color: #f3f3f3;
    color: #333;
    border: 1px solid #b3b3b3;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);

}
.workflow-main .toolbar .btn-small [class^="icon-"]
{
  background-color: #e6e6e6;
    border-radius: 3px 0 0 3px;
    border-right: 1px solid #b3b3b3;
    height: auto;
    line-height: inherit;
    margin: 0 6px 0 -10px;
    opacity: 1;
    text-shadow: none;
    width: 28px;
    z-index: -1;
}
.icon-unpublish
{
  color:#942a25;
}
.icon-publish
{
  color:#378137;
}



.workflow-main .nav.nav-tabs {
    padding: 0;
    margin: 0;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-bottom: 0;
    border-radius: 0.25rem 0.25rem 0 0;
    box-shadow: 0 1px #fff inset, 0 2px 3px -3px rgba(0, 0, 0, 0.15), 0 -4px 0 rgba(0, 0, 0, 0.05) inset, 0 0 3px rgba(0, 0, 0, 0.04);
        display: flex;
    flex-wrap: wrap;

}

.workflow-main .nav.nav-tabs >li {
    margin-bottom: 0;
    margin-left: 0;
    float:none;
}
.workflow-main .nav.nav-tabs >li >a {
    position: relative;
    padding: .75em 1em;
    color: #434178;
    border: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: -1px 0 0 rgba(0, 0, 0, 0.05);
}

.workflow-main .nav.nav-tabs li.active a {
    background-color: rgba(0, 0, 0, 0.03);
    background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.05) 100%);
    border-right: 0;
    border-left: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: inset 2px 0 1px -1px rgba(0, 0, 0, 0.08), inset -2px 0 1px -1px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(0, 0, 0, 0.02);
}

.workflow-main .nav.nav-tabs li.active a::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 5px;
    content: "";
    background-color: #006898;
    opacity: .8;
}

.workflow-main .nav-tabs + .tab-content {
  padding: 15px;
  background: #fefefe;
  border: 1px solid;
  border-color: #ccc;
  border-radius: 0 0 0.25rem 0.25rem;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.04); }
  .nav.nav-tabs >li.active:first-of-type a {
      border-radius: 0.25rem 0 0;
      box-shadow: -1px 0 1px -1px rgba(0, 0, 0, 0.06), inset -2px 0 1px -1px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(0, 0, 0, 0.02); }
    .nav.nav-tabs >li:last-of-type a {
      box-shadow: -1px 0 0 rgba(0, 0, 0, 0.05), 1px 0 0 rgba(0, 0, 0, 0.05); }



.workflow-main .tab-content .tab-pane.active
{
  display:block;
  
}
.workflow-main .tab-content .tab-pane .control-label
{
  
  line-height: 1.5;
  padding-top:5px;
  vertical-align: middle;
}

.workflow-main .tab-content .tab-pane  textarea
{
  width: 100%;
    min-height: 200px;
    display: block;
    box-sizing: border-box;
}
.workflow-main .tab-content .tab-pane .controls input
{
  width:220px;
  box-sizing: border-box;
  line-height: 1.5;
  height:auto;
  margin:0;
  padding:3px;
  background-image: none;
  background-clip: padding-box;
  border-radius: 0.25rem;

    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.workflow-main .tab-content .tab-pane .controls
{
  margin-left:150px !important;
}

 .workflow-main form .control-group .control-label {
    float: left !important;
    width: auto !important;
    padding-top: 5px;
    padding-right: 5px;
    text-align: left;
}

.workflow-main .chzn-container.chzn-container-single .chzn-single {
 line-height:1.5;
 padding: 4px 6px;
 height:auto;
 
 background: none;
}
.workflow-main .chzn-container
{
  width:220px !important;
}
.workflow-main .chzn-container-single .chzn-single div b
{
  background-position-y: 4px;
}


.workflow-main .btn-primary {
    color: #fff;
    background-color: #006898;
    border-color: #006898;
    background-image:none;
}

.workflow-main .btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-image:none;
    user-select: none;
    text-shadow:none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
  
}

.btn-primary {
  color: #fff;
  background-color: #006898;
  border-color: #006898;
  }
  .btn-primary:hover {
    color: #fff;
    background-color: #004e72;
    border-color: #004565; }
  .btn-primary:focus, .btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 104, 152, 0.5); }
  .btn-primary.disabled, .btn-primary:disabled {
    background-color: #006898;
    border-color: #006898; }
  .btn-primary:not([disabled]):not(.disabled):active, .btn-primary:not([disabled]):not(.disabled).active,
  .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #004565;
    border-color: #003c58;
    box-shadow: 0 0 0 0.2rem rgba(0, 104, 152, 0.5); }

.btn-secondary {
  color: #fff;
  background-color: #868e96;
  border-color: #868e96; }
  .btn-secondary:hover {
    color: #fff;
    background-color: #727b84;
    border-color: #6c757d; }
  .btn-secondary:focus, .btn-secondary.focus {
    box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5); }
  .btn-secondary.disabled, .btn-secondary:disabled {
    background-color: #868e96;
    border-color: #868e96; }
  .btn-secondary:not([disabled]):not(.disabled):active, .btn-secondary:not([disabled]):not(.disabled).active,
  .show > .btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #6c757d;
    border-color: #666e76;
    box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5); }

.btn-success {
  color: #fff;
  background-color: #438243;
  border-color: #438243; }
  .btn-success:hover {
    color: #fff;
    background-color: #366936;
    border-color: #326032; }
  .btn-success:focus, .btn-success.focus {
    box-shadow: 0 0 0 0.2rem rgba(67, 130, 67, 0.5); }
  .btn-success.disabled, .btn-success:disabled {
    background-color: #438243;
    border-color: #438243; }
  .btn-success:not([disabled]):not(.disabled):active, .btn-success:not([disabled]):not(.disabled).active,
  .show > .btn-success.dropdown-toggle {
    color: #fff;
    background-color: #326032;
    border-color: #2d582d;
    box-shadow: 0 0 0 0.2rem rgba(67, 130, 67, 0.5); }

.btn-info {
  color: #fff;
  background-color: #17a2b8;
  border-color: #17a2b8; }
  .btn-info:hover {
    color: #fff;
    background-color: #138496;
    border-color: #117a8b; }
  .btn-info:focus, .btn-info.focus {
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); }
  .btn-info.disabled, .btn-info:disabled {
    background-color: #17a2b8;
    border-color: #17a2b8; }
  .btn-info:not([disabled]):not(.disabled):active, .btn-info:not([disabled]):not(.disabled).active,
  .show > .btn-info.dropdown-toggle {
    color: #fff;
    background-color: #117a8b;
    border-color: #10707f;
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); }

.btn-warning {
  color: #111;
  background-color: #f0ad4e;
  border-color: #f0ad4e; }
  .btn-warning:hover {
    color: #111;
    background-color: #ed9d2b;
    border-color: #ec971f; }
  .btn-warning:focus, .btn-warning.focus {
    box-shadow: 0 0 0 0.2rem rgba(240, 173, 78, 0.5); }
  .btn-warning.disabled, .btn-warning:disabled {
    background-color: #f0ad4e;
    border-color: #f0ad4e; }
  .btn-warning:not([disabled]):not(.disabled):active, .btn-warning:not([disabled]):not(.disabled).active,
  .show > .btn-warning.dropdown-toggle {
    color: #111;
    background-color: #ec971f;
    border-color: #ea9214;
    box-shadow: 0 0 0 0.2rem rgba(240, 173, 78, 0.5); }

.btn-danger {
  color: #fff;
  background-color: #d9534f;
  border-color: #d9534f; }
  .btn-danger:hover {
    color: #fff;
    background-color: #d23430;
    border-color: #c9302c; }
  .btn-danger:focus, .btn-danger.focus {
    box-shadow: 0 0 0 0.2rem rgba(217, 83, 79, 0.5); }
  .btn-danger.disabled, .btn-danger:disabled {
    background-color: #d9534f;
    border-color: #d9534f; }
  .btn-danger:not([disabled]):not(.disabled):active, .btn-danger:not([disabled]):not(.disabled).active,
  .show > .btn-danger.dropdown-toggle {
    color: #fff;
    background-color: #c9302c;
    border-color: #bf2e29;
    box-shadow: 0 0 0 0.2rem rgba(217, 83, 79, 0.5); }

.btn-light {
  color: #111;
  background-color: #f8f9fa;
  border-color: #f8f9fa; }
  .btn-light:hover {
    color: #111;
    background-color: #e2e6ea;
    border-color: #dae0e5; }
  .btn-light:focus, .btn-light.focus {
    box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); }
  .btn-light.disabled, .btn-light:disabled {
    background-color: #f8f9fa;
    border-color: #f8f9fa; }
  .btn-light:not([disabled]):not(.disabled):active, .btn-light:not([disabled]):not(.disabled).active,
  .show > .btn-light.dropdown-toggle {
    color: #111;
    background-color: #dae0e5;
    border-color: #d3d9df;
    box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); }

.btn-dark {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40; }
  .btn-dark:hover {
    color: #fff;
    background-color: #23272b;
    border-color: #1d2124; }
  .btn-dark:focus, .btn-dark.focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); }
  .btn-dark.disabled, .btn-dark:disabled {
    background-color: #343a40;
    border-color: #343a40; }
  .btn-dark:not([disabled]):not(.disabled):active, .btn-dark:not([disabled]):not(.disabled).active,
  .show > .btn-dark.dropdown-toggle {
    color: #fff;
    background-color: #1d2124;
    border-color: #171a1d;
    box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); }







#collapseModal
  {
            position:fixed;
            left:0;
            top:0;
            bottom:0;
            right:0;
            width:100%;
            height:100%;
            z-index:2000;
            display:none;
            opacity:0;
            background:rgba(0,0,0,0.7);
            transition: all 1000ms ease 0s;

           
  }
#collapseModal.reject-open
{
  opacity:1;
}

 #collapseModal .close-reject
    {
       cursor: pointer;
     background: transparent;
    border: 0;
    -webkit-appearance: none;
              float: right;
    font-size: 30px;
    font-weight: bold;
    line-height: 18px;
    color: #000;
    text-shadow: 0 1px 0 #ffffff;
    opacity: 0.2;
    }
 #collapseModal .close-reject:hover
 {
  opacity: 1;
 }

#collapseModal .reject-main
{
  width:70%;
  border-radius: 6px;
  position:absolute;
  top:10%;
  left:50%;
  border: 1px solid rgba(0,0,0,0.3);
  background: #fff;
  transform: translateX(-50%);
  background: #fff;
}

#collapseModal .reject-header
{
  padding: 9px 15px;
  border-bottom: 1px solid #eee;
}
#collapseModal .reject-header h3
{
  margin: 0;
  line-height: 30px;
}

.reject-body {
    width: 98%;
    position: relative;
    max-height: 400px;
    padding: 1%;
}
.reject-body textarea
{
  width:80%;
}
.reject-footer {
    padding: 14px 15px 15px;
    margin-bottom: 0;
    text-align: right;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    -webkit-border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
    border-radius: 0 0 6px 6px;
    -webkit-box-shadow: inset 0 1px 0 #fff;
    -moz-box-shadow: inset 0 1px 0 #fff;
    box-shadow: inset 0 1px 0 #fff;
    *zoom: 1;
}